<template>
    <div>
        <h1 v-addColor>Heater</h1>
        <button @click="add">我是谁</button>
    </div>
</template>

<script>
    export default {
        name : 'Heater',
        methods: {
            add(){
                console.log(this.a);
            }
        },
    }
</script>

<style lang="css" scoped>

</style>